package fdb

import javax.print.attribute.standard.DateTimeAtCreation
import java.sql.Time

class ANA_FND_EX_FACTOR {

    int innerCode
    Date exDate
    Date endDate
    String unitNet
    String unitNetOrig
    Date regiDate
    String regiDateNetVal
    String unitDiv
    String unitSpPorp
    String unitIncrPorp
    String exFactor
    String cumFactor
    int factorType

    static constraints = {
        endDate nullable:  true
        unitNet nullable:  true ,size: 4..9
        unitNetOrig nullable:  true,size: 4..9
        regiDate nullable:  true
        regiDateNetVal nullable:  true,size: 4..9
        unitDiv nullable:  true,size: 10..15
        unitSpPorp nullable:  true,size: 10..15
        unitIncrPorp nullable:  true,size: 10..15
        exFactor nullable:  true,size: 10..15
        cumFactor nullable:  true,size: 10..15
        factorType nullable:  true
    }
    static  mapping = {
        id generator: 'assigned' ,name :"innerCode",column: "INNER_CODE"
        id generator: 'assigned' ,name :"exDate",column: "EX_DATE"
    }
}
